package src;

import java.util.Random;

public class VeriFicationCode {
    public static void main(String[] args) {
        Random r = new Random();
        int number = r.nextInt(9);
        char[] arr = new char[52];
            for (int i = 0; i < arr.length; i++) {
               if (i < 26){
                   arr[i] = (char)('A' + i);
               }else{
                   arr[i] = (char)('a' + i - 26);
               }
            }
            String p = "";
        for (int i = 1; i < 5; i++) {
            int number1 = r.nextInt(52);
            p = p + (char)arr[number1];
        }
        System.out.println(p + number);
        }
    }

